#ifndef __CC_SERIAL__
#define __CC_SERIAL__
#include "cc_core.h"
#include <Arduino.h>

extern cc_mutex_t serial_tx_mutex;
#define cc_println(format, ...) Serial.println(format, ##__VA_ARGS__)
#define cc_printf(format, ...)  Serial.printf(format, ##__VA_ARGS__)
char cc_read();

// #define cc_bt_println(format, ...) SerialBT.println(format, ##__VA_ARGS__)
// #define cc_bt_printf(format, ...) SerialBT.printf(format, ##__VA_ARGS__)
// #define cc_bt_read() SerialBT.read()

#endif